<template>
  <hcTab v-model="activeTab" :head="head" :keep-alive="true"></hcTab>
</template>
<script setup>
import invent from "./invent/index.vue";
import onhand from "./onhand/index.vue";

import { ref } from "vue";
import { useI18n } from "vue-i18n";
let { t } = useI18n();
let head = [
  { id: "onhand", text: "库存管理", component: onhand },
  { id: "invent", text: "仓库管理", component: invent },
];
let activeTab = ref("onhand");
</script>
<style lang="scss" scoped></style>